package org.bookie.stateful;

import org.apache.hivemind.impl.ConstructableServicePoint;
import org.apache.hivemind.internal.ServiceModel;
import org.apache.hivemind.internal.ServiceModelFactory;

/**
 * Factory for the stateful service model.
 * 
 * @author marcus
 */
public class StatefulServiceModelFactory implements ServiceModelFactory {

	/**
	 * 
	 */
	public StatefulServiceModelFactory() {
		super();
	}

	/**
	 * {@inheritDoc}
	 */
	public ServiceModel createServiceModelForService(ConstructableServicePoint servicePoint) {
		return new StatefulServiceModel( servicePoint );
	}

}
